import request from '@/utils/request'
import qs from "qs"

export default {


    // 根据订单id查询
    getById(orderId) {


        return request({


            url: '/api-order/order-log/getById',
            method: 'get',
            params: {
                orderId
            }

        })

    },


    // 添加一条操作日志
    addOneLog(orderLog){

        var data = qs.stringify(orderLog);
        return request({
            url: '/api-order/order-log/addOne',
            method: 'post',
            data
        })  

        
    }
}